Piwik\Plugins\API\API C

Total Complexity 110
Dependencies 32
Dependents 13
Total lines 755
Lines of code 415
Logical lines of code 246
Comment lines 195
Methods 27
Properties 3

Methods 27

Method Rating Maintainability Complexity Lines of code
getSuggestedValuesForSegment()
C
34 23 85
get()
A
42 15 50
getBulkRequest()
A
52 9 23
getRowEvolution()
S
52 7 22
getMostFrequentValues()
S
53 6 23
getSegmentValuesFromVisitorLog()
S
58 6 15
getSuggestedValuesForSegmentName()
S
49 5 30
getReportMetadata()
S
59 6 14
getSegmentsMetadata()
S
54 4 20
findSegment()
S
59 4 14
doesSuggestedValuesCallbackNeedData()
S
60 4 13
doesSegmentNeedActionsData()
S
58 4 13
getAvailableMeasurableTypes()
S
56 2 18
getMetadata()
S
64 2 9
getPhpVersion()
S
63 1 11
getGlossaryReports()
S
75 1 4
getGlossaryMetrics()
S
75 1 4
getPagesComparisonsDisabledFor()
S
73 1 5
__construct()
S
77 1 4
isPluginActivated()
S
75 1 4
getMatomoVersion()
S
77 1 4
getReportPagesMetadata()
S
68 1 7
getProcessedReport()
S
68 1 6
getSettings()
S
81 1 3
getIpFromHeader()
S
77 1 4
getPiwikVersion()
S
81 1 3
getWidgetMetadata()
S
68 1 7